Event#bounded? fails for Event with occurrence lists
Reported by Rick DeNatale | May 21st, 2009 @ 07:54 PM
Failing spec
context "bounded? bug" do
before(:each) do
events = RiCal.parse_string rectify_ical <<-ENDCAL
BEGIN:VEVENT
EXDATE:20090114T163000
EXDATE:20090128T163000
EXDATE:20090121T163000
EXDATE:20090211T163000
EXDATE:20090204T163000
EXDATE:20090218T163000
TRANSP:OPAQUE
DTSTAMP;VALUE=DATE-TIME:20090107T024340Z
CREATED;VALUE=DATE-TIME:20090107T024012Z
DTEND;TZID=US/Mountain;VALUE=DATE-TIME:20090114T180000
DTSTART;TZID=US/Mountain;VALUE=DATE-TIME:20090114T163000
UID:15208112-E0FA-4A7C-954C-CFDF19D1B0E7
RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20090219T065959Z
SUMMARY:Wild Rose XC/Skate Training Series
SEQUENCE:11
LOCATION:Mountain Dell Golf Course
END:VEVENT
ENDCAL
@event = events.first
end
it "should be able to enumerate occurrences" do
@event.should be_bounded
end
end
Causes a method_missing for bounded? on OccurrenceEnumerator
Comments and changes to this ticket
-
Rick DeNatale May 21st, 2009 @ 08:04 PM
- Assigned user set to Rick DeNatale
- State changed from new to invalid
I created #8 as a duplicate by mistake and closed it.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences